package com.meixiang.entity.account;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * author：wangzuzhen on 2016/5/28 0028 15:59.
 */
public class SelectMemberStoreEntity implements Parcelable {


    /**
     * storeId : 66
     * storeLogo : http://www.mxaest.com:8080http://www.mxaest.com:8080/upload/img/store/slide/shop@3x.png
     * gradeId : 11
     * storeName : 任成龙
     * gradeName : 金牌会员
     */

    private String storeId;
    private String storeLogo;
    private String gradeId;
    private String storeName;
    private String gradeName;

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getStoreLogo() {
        return storeLogo;
    }

    public void setStoreLogo(String storeLogo) {
        this.storeLogo = storeLogo;
    }

    public String getGradeId() {
        return gradeId;
    }

    public void setGradeId(String gradeId) {
        this.gradeId = gradeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.storeId);
        dest.writeString(this.storeLogo);
        dest.writeString(this.gradeId);
        dest.writeString(this.storeName);
        dest.writeString(this.gradeName);
    }

    public SelectMemberStoreEntity() {
    }

    protected SelectMemberStoreEntity(Parcel in) {
        this.storeId = in.readString();
        this.storeLogo = in.readString();
        this.gradeId = in.readString();
        this.storeName = in.readString();
        this.gradeName = in.readString();
    }

    public static final Parcelable.Creator<SelectMemberStoreEntity> CREATOR = new Parcelable.Creator<SelectMemberStoreEntity>() {
        @Override
        public SelectMemberStoreEntity createFromParcel(Parcel source) {
            return new SelectMemberStoreEntity(source);
        }

        @Override
        public SelectMemberStoreEntity[] newArray(int size) {
            return new SelectMemberStoreEntity[size];
        }
    };
}
